import React from 'react'
import './detail.css'

class Detail extends React.Component {

  state = {
    id: ''
  }

  componentDidMount() {
    console.log(this.props)
    console.log(this.getQueryData('id'))
    console.log(this.getQueryDataAll())
  }

  render() {
    let { id } = this.props
    return (
      <div className="_news-detail">
        dsafasdf
        <div className="box">{ id }</div>
      </div>
    )
  }

}

export default Detail